﻿using Digitalmes.Core.Common.Interfaces;
using Yitter.IdGenerator;

namespace Digitalmes.Infrastructure.Unique;

/// <summary>
/// 唯一 Id 生成器。
/// </summary>
internal sealed class UniqueGenerator : IUnique
{
    public long NextId() => YitIdHelper.NextId();
}
